﻿using System.IO;
using log4net.Config;
using NUnit.Framework;

namespace SharePoint.Orm {
	public class TestBase {
		static TestBase() {
			InitLog4Net();
		}

		private static void InitLog4Net() {
			using (Stream configStream = typeof(TestBase).Assembly.GetManifestResourceStream("SharePoint.Orm.log4net.xml")) {
				XmlConfigurator.Configure(configStream);
			}
		}

		[TestFixtureSetUp]
		public virtual void TestInitialize() {
		}

		[TestFixtureTearDown]
		public virtual void TestCleanup() {
		}
	}
}
